package com.demo;

import java.io.UnsupportedEncodingException;

public class demo {



    public static void main(String[] args) throws UnsupportedEncodingException {

        String str="你好哦!";

        str.getBytes();

        String a=new String(str.getBytes(),"UTF-8");

        System.out.println(a);

    }


}
